﻿namespace NetMicro.Trace.Const
{
    public class Penetrates
    {
        /// <summary>
        /// 请求id
        /// </summary>
        public const string TraceId = "TraceId";

        /// <summary>
        /// 当前服务名称
        /// </summary>
        public const string ParentId = "ParentId";

        /// <summary>
        /// 上下文Id
        /// </summary>
        public const string SpanId = "SpanId";

        /// <summary>
        /// 当前服务名称
        /// </summary>
        public const string ServiceName = "ServiceName";

        /// <summary>
        /// 默认输出模板
        /// </summary>
        public const string DefaultOutputTemplate = "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} {ServiceName} [{Level}]  {TraceId} {ParentId} {SpanId} {Message:lj} {NewLine} {Exception}";
        /// <summary>
        /// 默认日志
        /// </summary>
        public const string Default = "Default";

    }
}
